#include <Windows.h>

class NumCores{
public:
	static int get(){
		SYSTEM_INFO sysinfo;
		GetSystemInfo( &sysinfo );

		return sysinfo.dwNumberOfProcessors;
	};
}
